import { checkEsistGit } from '../middleware/checkExistGit';
import express from 'express';
const router = express.Router();

// 初始化仓库 & 校验配置
router.use('/init', require('./init/index'));
// 手动设置提交N次
router.use('/commit', checkEsistGit, require('./commit/index'));
// 补交:填充以前的贡献热力图
router.use('/recommit', checkEsistGit, require('./reCommit/index'));
// 可视化界面
router.use('/vue', require('./vue/index'));

module.exports = router;
